package com.sgcc.nfc.lock.domain.usecase

import com.sgcc.nfc.lock.core.network.NetworkResult
import com.sgcc.nfc.lock.domain.model.DashboardStats
import com.sgcc.nfc.lock.domain.repository.DashboardRepository
import javax.inject.Inject

class GetDashboardStatsUseCase @Inject constructor(
    private val repository: DashboardRepository
) {
    suspend operator fun invoke(): NetworkResult<DashboardStats> = repository.getDashboardStats()
}
